<?php

class Viewport
{
	private $content;
	public function __construct()
	{
		$this->content = array();
	}

	public function add(Content $c)
	{
		$this->content[] = $c;
	}

	public function getCode()
	{
		$output='';
		foreach($this->content as $c)
		{
			$output .= $c->getCode();
		}
		return $output;
	}

	
}

?>
